package com.tangyuan.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.common.result.Result;
import com.tangyuan.common.result.ResultCodeEnum;
import com.tangyuan.live.entity.dto.ManagementDto;
import com.tangyuan.model.live.LiveManagement;

public interface LiveManagementService extends IService<LiveManagement> {

    Result<ResultCodeEnum> shiftOutUser(Long userId, ManagementDto dto);

    boolean isShiftOutOrShutUp(Long userId, Long roomId,Integer type);

    Result<ResultCodeEnum> shutUpUser(Long userId, ManagementDto dto);


}
